package com.example.apprendrechinois.pinyin;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.example.apprendrechinois.MainActivity;
import com.example.apprendrechinois.R;
import com.example.apprendrechinois.cours.CoursListe;

public class PinyinMainPage extends Activity {
	
	private Button ButtonPresentation, ButtonConsonne, ButtonVoyelle, ButtonTon, ButtonComposition;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_pinyin_mainpage);
        
        
        ButtonPresentation = (Button) findViewById(R.id.buttonPresentation);        
        ButtonConsonne = (Button) findViewById(R.id.buttonConsonne);
        ButtonVoyelle = (Button) findViewById(R.id.buttonVoyelle);
        ButtonTon= (Button) findViewById(R.id.buttonTon);
        ButtonComposition = (Button) findViewById(R.id.buttonComposition);
        
        ButtonPresentation.setOnClickListener(new OnClickListener(){
			public void onClick(View v) {
			}
        });
        
        ButtonConsonne.setOnClickListener(new OnClickListener(){
			public void onClick(View v) {
			}
        });
        
        ButtonVoyelle.setOnClickListener(new OnClickListener(){
			public void onClick(View v) {
			}
        });
        
        ButtonTon.setOnClickListener(new OnClickListener(){
			public void onClick(View v) {
			}
        });
        
        ButtonComposition.setOnClickListener(new OnClickListener(){
			public void onClick(View v) {
				Intent intentPrononciation = new Intent();
				intentPrononciation.setClass(PinyinMainPage.this, AyPinyinComposition.class);
				startActivity(intentPrononciation);
			}
        });
        
    }
	
	
}
